package com.kgc.crow.distributioncrowdcommon.vo;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
public class TagVO {

    private Integer id;

    private Integer pid;

    private String name;

    private List<TagVO> chart = new ArrayList<>();

    public TagVO(Integer id, Integer pid, String name) {
        this.id = id;
        this.pid = pid;
        this.name = name;
    }

    public TagVO() {

    }
}
